package pingce.share.util;

public class SplitterFactory {
//	public static String DEFAULT_DIC = "F:/programs/from lab/google weibo code/weibo4j-20110622/weibo4j/sentidics/" +
//			"HowNet_sentiDic_small_ForSplit.txt";
	public static String DEFAULT_DIC = "F:/programs/from lab/google weibo code/weibo4j-20110622/weibo4j/sentidics/" +
//		"sentidic_2.23.txt";
//		"sentidic_3.1.txt";
	"sentidic_3.2.txt";
//	"sentidic_4.6.txt";
//	"sentidic_3.1_big_noRedundant.txt";
//		"./sentidics/" +
//	"HowNet_sentiDic_small_ForSplit.txt";
	
	public static Splitter getSplitter(String type){
		if(type.equals("ICT")){
			return new ICTSplitter();
		}
		return null;
	}
	
	public static Splitter getSplitter(String type, String usrDic){
		try{
			if(type.equals("ICT")){
				return new ICTSplitter(usrDic);
			}
		}catch(Exception e){
			e.printStackTrace();
		}
		return null;
	}
}
